

import React, { Component } from 'react'
import Admin from './pages/admin/admin'
import {Route, NavLink, Switch,BrowserRouter,Redirect } from "react-router-dom";

export default class App extends Component {
  render() {
    return (
      <div>
        <BrowserRouter>
           <Switch>

           <Route path='/Admin' component={Admin}>

           </Route>

        <Redirect to='/Admin'/>

           </Switch>
        
        
        
        </BrowserRouter>
      </div>
    )
  }
}
